{#include file="admin_header.htm"#}
<script type="text/javascript" src="js/selectAll.js"></script>
<script type="text/javascript" src="js/is_show.js"></script>
<div class="admin_main_nr_dbox">
  <table width="700" border="0" cellspacing="8" cellpadding="0" class="link_lan">
    <tr>
      <td width="97" height="22" align="center" background="images/article_category_bg.jpg" style="background-repeat:no-repeat">時間範圍</td>
      <td>
<div style=" float:left; width:70px; height:22px; line-height:22px; margin-right:5px; text-align:center;{#if $dateline eq ''#}background-color: #DFEDF7{#/if#}"><a href="?emergency={#$emergency#}&audit=">不限時間</a></div>
<div style=" float:left; width:70px; height:22px; line-height:22px; margin-right:5px; text-align:center;{#if $dateline==30#}background-color: #DFEDF7{#/if#}"><a href="?dateline=30">本月新增</a></div>
<div class="clear"></div></td>
    </tr> 
    <tr>
      <td width="97" height="22" align="center" background="images/article_category_bg.jpg" style="background-repeat:no-repeat">審核狀態</td>
      <td>
<div style=" float:left; width:70px; height:22px; line-height:22px; margin-right:5px; text-align:center;{#if $audit eq ""#}background-color: #DFEDF7{#/if#}"><a href="?emergency={#$emergency#}&audit=">不限</a></div>
<div style=" float:left; width:70px; height:22px; line-height:22px; margin-right:5px; text-align:center;{#if $audit==1#}background-color: #DFEDF7{#/if#}"><a href="?emergency={#$emergency#}&audit=1">審核通過</a></div>
<div style=" float:left; width:70px; height:22px; line-height:22px; margin-right:5px; text-align:center;{#if $audit==2#}background-color: #DFEDF7{#/if#}"><a href="?emergency={#$emergency#}&audit=2">等待審核</a></div>
<div style=" float:left; width:70px; height:22px; line-height:22px; margin-right:5px; text-align:center;{#if $audit==3#}background-color: #DFEDF7{#/if#}"><a href="?emergency={#$emergency#}&audit=3">審核未通過</a></div>
<div class="clear"></div></td>
    </tr>
    <tr style="display:none;">
      <td width="97" height="22" align="center" background="images/article_category_bg.jpg"><span style="background-repeat:no-repeat">屬性類別</span></td>
      <td>
<div style=" float:left; width:70px; height:22px; line-height:22px; margin-right:5px; text-align:center;{#if $emergency==""#}background-color: #DFEDF7{#/if#}"><a href="?emergency=&audit={#$audit#}">不限</a></div>
<div style=" float:left; width:70px; height:22px; line-height:22px; margin-right:5px; text-align:center;{#if $emergency==1#}background-color: #DFEDF7{#/if#}"><a href="?emergency=1&audit={#$audit#}">普通招聘</a></div>
<div style=" float:left; width:70px; height:22px; line-height:22px; margin-right:5px; text-align:center;{#if $emergency==2#}background-color: #DFEDF7{#/if#}"><a href="?emergency=2&audit={#$audit#}">緊急招聘</a></div>
	 <div class="clear"></div> </td>
    </tr>
  </table>
  <table width="700" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><table width="150" border="0" cellspacing="2" cellpadding="0">
          <form action="?" method="post" name="form3" id="form3">
            <tr>
              <td width="41">每頁：</td>
              <td width="20"><input name="perpage" type="text" id="perpage"  style="width:30px; height:15px; color:#666666; border:1px #97ADCE solid; text-align:center"  onkeyup="if(event.keyCode !=37 && event.keyCode != 39) value=value.replace(/\D/g,'');" value="{#$perpage#}" maxlength="3"onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/\D/g,''))"/></td>
              <td width="81"><input  style="font-family:Arial; font-size:10px; height:22px;" type="submit" name="Submitok"  value="OK" /></td>
            </tr>
          </form>
      </table></td>
      <td width="61%"><table width="300"  border="0" align="right" cellpadding="0" cellspacing="2">
          <form action="?" method="post" name="form2" id="form2">
            <tr>
              <td width="112" align="right">&nbsp;</td>
              <td width="130"><input name="key" type="text" id="key" style=" width:130px; height:15px; font-size:12px; background-image:url(images/zoom.png); background-repeat:no-repeat; padding-left:18px;" value="{#$key#}" maxlength="6" /></td>
              <td width="50"><input name="Submit4" type="submit"  value="搜索" style="height:24px; width:50px; font-size:12px;" /></td>
            </tr>
          </form>
      </table></td>
    </tr>
  </table>
  <form id="form1" name="form1" method="post" action="?act=jobs_perform">
  <table width="700" border="0" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
    <tr>
      <td width="25" height="26" align="center" bgcolor="#D0E2F7" >
      <input type="checkbox" name="chkAll" title="全選/反選" onClick="selectAll()"/>	  </td>
      <td width="90" bgcolor="#D0E2F7" style="padding-left:15px;">職位名稱</td>
      <td bgcolor="#D0E2F7" style="padding-left:15px;"> 發布公司 </td>
      <td width="60" align="center"  bgcolor="#D0E2F7">屬性</td>
      <td width="75" align="center"  bgcolor="#D0E2F7">招聘狀態</td>
      <td width="80" align="center" bgcolor="#D0E2F7"  >審核狀態</td>
      <td width="128" align="center" bgcolor="#D0E2F7"  >添加時間</td>
      <td width="60" align="center" bgcolor="#D0E2F7"  >操作</td>
    </tr>
  </table>
    <table width="700" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="link_lan" >
      {#section name=list loop=$list#}
      <tr class="row">
      <td width="27" align="center" style="border-bottom:1px #CCCCCC solid; padding-left:2px;">
        <input name="y_id[]" type="checkbox" id="y_id" value="{#$list[list].id#}"  onclick="javascript:chkRow(this);"/>      </td>
        <td width="110" height="34" style="border-bottom:1px #CCCCCC solid"><a href="{#$list[list].jobs_url#}" target="_blank">{#if $list[list].jobs_name_cn#}{#$list[list].jobs_name_cn#}{#else#}{#$list[list].jobs_name_en#}{#/if#}</a></td>
        <td style="border-bottom:1px #CCCCCC solid"><a href="{#$list[list].company_url#}" target="_blank" style="color: #000000">{#$list[list].companyname#}</a>&nbsp;</td>
        <td width="60" align="center" style="border-bottom:1px #CCCCCC solid">{#$list[list].emergency#}</td>
        <td width="75" align="center" style="border-bottom:1px #CCCCCC solid">{#$list[list].display#}</td>
        <td width="85" align="center" valign="middle" style="border-bottom:1px #CCCCCC solid">{#$list[list].audit#}</td>
        <td width="128" align="center" style="border-bottom:1px #CCCCCC solid">{#$list[list].addtime|date_format:"%Y-%m-%d | %H:%M"#}</td>
        <td width="60" align="center" style="border-bottom:1px #CCCCCC solid"><a href="?act=edit_jobs&id={#$list[list].id#}">修改</a> <a href="?act=jobs_perform&delete=yes&y_id={#$list[list].id#}" onclick="return confirm('你確定要刪除嗎？')"></a></td>
      </tr>
      {#sectionelse#}
  <tr>
    <td height="50" colspan="8" align="center">沒有任何記錄！</td>
  </tr>
      {#/section#}
    </table>
	{#if $list#}
	<table width="700" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="50">
          <input name="perform1" type="submit" class="Qishi_submit_a" id="perform1" onmouseover="this.className='Qishi_submit_b'"  onmouseout="this.className='Qishi_submit_a'" value="審核通過"/>
         <!--          &nbsp;&nbsp;
 <input name="perform2" type="submit" class="Qishi_submit_a" id="perform2" onmouseover="this.className='Qishi_submit_b'"  onmouseout="this.className='Qishi_submit_a'" value="審核中..."/> -->
          &nbsp;&nbsp;
        <input name="perform3" type="submit" class="Qishi_submit_a" id="perform3" onmouseover="this.className='Qishi_submit_b'"  onmouseout="this.className='Qishi_submit_a'" value="審核未通過"/>  &nbsp;&nbsp;
		<input type="submit" name="delete" value="刪除所選" class="Qishi_submit_a" onmouseover="this.className='Qishi_submit_b'"  onmouseout="this.className='Qishi_submit_a'" onclick="return confirm('你確定要刪除嗎？')"/>		</td>
      </tr>
    </table>
	{#/if#}
  </form>
	    <table width="700" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><table border="0" align="center" cellpadding="0" cellspacing="0" class="link_page">
          <tr>
            <td height="40" align="center" >{#$page#}</td>
          </tr>
        </table></td>
      </tr>
    </table>
</div>
{#include file="admin_footer.htm"#}
</body>
</html>
